package com.sfd.gateway.ocntroller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author haden
 * @date 2022/8/18 15:49
 **/
@RequestMapping("/test")
@RestController
public class TestController {
    @Value("${testValue}")
    private String test;

    @GetMapping("test")
    public String test() {
        return test;
    }
}
